
package tankapp;

import tankapp.controllers.Controller;
import tankapp.models.Model;
import tankapp.views.View;
import javax.swing.JFrame;

public class Application {
    
    public static void main(String[] args) {
        
        Controller controller = new Controller();
        View view = new View();
        Model model = new Model();
        
        view.setController(controller);

        controller.setModel(model);
        controller.setView(view);
       
        JFrame frame = new JFrame();
        frame.setTitle("Copyright (c) The Dragons, 2014");
        frame.setSize(800, 600);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setContentPane(view);
        frame.setVisible(true);
    }
    
}
